// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_BPT_BLUEPRINT
// * CreateDate    : 2014-06-05 18:29:41
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:29:41
// * LastChanger   : 2014-06-05 18:29:41
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class BptBlueprintTable : TableInfo
    {
		public const string C_TableName = "BPT_BLUEPRINT";
		
		public const string C_BLUEPRINT_ID = "BLUEPRINT_ID";
		public const string C_PARENT_ID = "PARENT_ID";
		public const string C_BPT_TASK_ID = "BPT_TASK_ID";
		public const string C_BLUEPRINT_CODE = "BLUEPRINT_CODE";
		public const string C_BLUEPRINT_TYPE = "BLUEPRINT_TYPE";
		public const string C_PRODUCT_ID = "PRODUCT_ID";
		public const string C_MATERIAL_ID = "MATERIAL_ID";
		public const string C_MATERIAL_QTY = "MATERIAL_QTY";
		public const string C_SEQUENCE = "SEQUENCE";
		public const string C_BLUEPRINT_NAME = "BLUEPRINT_NAME";
		public const string C_FILE_NAME = "FILE_NAME";
		public const string C_CREATED_BY = "CREATED_BY";
		public const string C_CREATED_DATE = "CREATED_DATE";
		public const string C_UPDATED_BY = "UPDATED_BY";
		public const string C_UPDATED_DATE = "UPDATED_DATE";
		public const string C_DELETEF_LAG = "DELETEF_LAG";
		public const string C_REMARK = "REMARK";
		
		public BptBlueprintTable()
        {
            _tableName = "BPT_BLUEPRINT";
        }
		
		protected static BptBlueprintTable _current;
        public static BptBlueprintTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new BptBlueprintTable();

            _current.Add(C_BLUEPRINT_ID, new ColumnInfo(C_BLUEPRINT_ID,"BlueprintId", true, typeof(string)));
            _current.Add(C_PARENT_ID, new ColumnInfo(C_PARENT_ID,"ParentId", false, typeof(string)));
            _current.Add(C_BPT_TASK_ID, new ColumnInfo(C_BPT_TASK_ID,"BptTaskId", false, typeof(string)));
            _current.Add(C_BLUEPRINT_CODE, new ColumnInfo(C_BLUEPRINT_CODE,"BlueprintCode", false, typeof(string)));
            _current.Add(C_BLUEPRINT_TYPE, new ColumnInfo(C_BLUEPRINT_TYPE,"BlueprintType", false, typeof(string)));
            _current.Add(C_PRODUCT_ID, new ColumnInfo(C_PRODUCT_ID,"ProductId", false, typeof(string)));
            _current.Add(C_MATERIAL_ID, new ColumnInfo(C_MATERIAL_ID,"MaterialId", false, typeof(string)));
            _current.Add(C_MATERIAL_QTY, new ColumnInfo(C_MATERIAL_QTY,"MaterialQty", false, typeof(decimal)));
            _current.Add(C_SEQUENCE, new ColumnInfo(C_SEQUENCE,"Sequence", false, typeof(decimal)));
            _current.Add(C_BLUEPRINT_NAME, new ColumnInfo(C_BLUEPRINT_NAME,"BlueprintName", false, typeof(string)));
            _current.Add(C_FILE_NAME, new ColumnInfo(C_FILE_NAME,"FileName", false, typeof(string)));
            _current.Add(C_CREATED_BY, new ColumnInfo(C_CREATED_BY,"CreatedBy", false, typeof(string)));
            _current.Add(C_CREATED_DATE, new ColumnInfo(C_CREATED_DATE,"CreatedDate", false, typeof(DateTime)));
            _current.Add(C_UPDATED_BY, new ColumnInfo(C_UPDATED_BY,"UpdatedBy", false, typeof(string)));
            _current.Add(C_UPDATED_DATE, new ColumnInfo(C_UPDATED_DATE,"UpdatedDate", false, typeof(DateTime)));
            _current.Add(C_DELETEF_LAG, new ColumnInfo(C_DELETEF_LAG,"DeletefLag", false, typeof(int)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK,"Remark", false, typeof(string)));
			
		}
		
		public ColumnInfo BLUEPRINT_ID
        {
            get { return this[C_BLUEPRINT_ID]; }
        }
		
		public ColumnInfo PARENT_ID
        {
            get { return this[C_PARENT_ID]; }
        }
		
		public ColumnInfo BPT_TASK_ID
        {
            get { return this[C_BPT_TASK_ID]; }
        }
		
		public ColumnInfo BLUEPRINT_CODE
        {
            get { return this[C_BLUEPRINT_CODE]; }
        }
		
		public ColumnInfo BLUEPRINT_TYPE
        {
            get { return this[C_BLUEPRINT_TYPE]; }
        }
		
		public ColumnInfo PRODUCT_ID
        {
            get { return this[C_PRODUCT_ID]; }
        }
		
		public ColumnInfo MATERIAL_ID
        {
            get { return this[C_MATERIAL_ID]; }
        }
		
		public ColumnInfo MATERIAL_QTY
        {
            get { return this[C_MATERIAL_QTY]; }
        }
		
		public ColumnInfo SEQUENCE
        {
            get { return this[C_SEQUENCE]; }
        }
		
		public ColumnInfo BLUEPRINT_NAME
        {
            get { return this[C_BLUEPRINT_NAME]; }
        }
		
		public ColumnInfo FILE_NAME
        {
            get { return this[C_FILE_NAME]; }
        }
		
		public ColumnInfo CREATED_BY
        {
            get { return this[C_CREATED_BY]; }
        }
		
		public ColumnInfo CREATED_DATE
        {
            get { return this[C_CREATED_DATE]; }
        }
		
		public ColumnInfo UPDATED_BY
        {
            get { return this[C_UPDATED_BY]; }
        }
		
		public ColumnInfo UPDATED_DATE
        {
            get { return this[C_UPDATED_DATE]; }
        }
		
		public ColumnInfo DELETEF_LAG
        {
            get { return this[C_DELETEF_LAG]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }
		
		
		
	}
}

